-
Notifications
You must be signed in to change notification settings - Fork 668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The new version of Regex (1.9.0) is not compatible with 1.8 #3779
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3779 +/- ##
==========================================
+ Coverage 0.06% 0.18% +0.12%
==========================================
Files 301 302 +1
Lines 276555 277126 +571
==========================================
+ Hits 179 512 +333
- Misses 276376 276614 +238
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Thanks for finding this @sergey-shandar -- I'd suggest just deleting that line from
The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me
I still need clarification about the versioning strategy in the repo.
Just put the full version. Humans look at the cargo.toml file to determine
dependencies, not the cargo.lock. The full version removes ambiguity.
…On Wed, Jul 12, 2023, 11:50 AM Sergey Shandar ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In clarity/Cargo.toml
<#3779 (comment)>
:
> @@ -23,7 +23,7 @@ rand_chacha = "=0.2.2"
serde = "1"
serde_derive = "1"
serde_stacker = "0.1"
-regex = "1"
+regex = "~1.8"
@jcnelson <https://github.com/jcnelson> I still need clarification about
the versioning strategy in the repo. Could you comment with your
thoughts/requirements on this
https://github.com/orgs/Trust-Machines/discussions/502 ?
—
Reply to this email directly, view it on GitHub
<#3779 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADQJK4KQ3OXQQUOJ4LOFZLXP3BTXANCNFSM6AAAAAA2AT6UYM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This PR doesn't touch the If you want to talk about changing the way the blockchain does version specifications in the toml file, that's probably better done in an issue for changing that in the contributing guide. |
This PR doesn't touch the Cargo.toml at all right now
Ah I see that now. Will approve once I'm not AFK (give me an hour).
…On Wed, Jul 12, 2023, 2:30 PM Aaron Blankstein ***@***.***> wrote:
Just put the full version. Humans look at the cargo.toml file to determine
dependencies, not the cargo.lock. The full version removes ambiguity.
This PR doesn't touch the Cargo.toml at all right now (because there was
a spurious import that could just be removed to solve the issue), and I'd
suggest that it stay that way.
If you want to talk about changing the way the blockchain does version
specifications in the toml file, that's probably better done in an issue
for changing that in the contributing guide.
—
Reply to this email directly, view it on GitHub
<#3779 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADQJK4XPJ4JV6H5J544EUDXP3UMVANCNFSM6AAAAAA2AT6UYM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@kantai is it ok that the PR is open against the |
Yes -- for changes that don't touch any code (e.g., docs only, github workflows, etc.) it's okay to merge to master. This PR, because it just removes an unused import, is okay.
Yes, changes to master should always be merged back into |
Description
The new version of Regex (1.9.0) is not compatible with 1.8 if we use
regex::internal::*
Seehttps://github.com/Trust-Machines/stacks-sbtc/actions/runs/5466661304/jobs/9951913250
And the fix:
https://github.com/Trust-Machines/stacks-sbtc/pull/522
Applicable issues
Additional info (benefits, drawbacks, caveats)
Checklist
docs/rpc/openapi.yaml
andrpc-endpoints.md
for v2 endpoints,event-dispatcher.md
for new events)clarity-benchmarking
repobitcoin-tests.yml